//
//  SuggestedCompanionsTableViewController.h
//  PlotMate
//
//  Created by Brian Boyle on 19/04/2012.
//  Copyright (c) 2012 Brian Boyle. All rights reserved.
//

#import <UIKit/UIKit.h>
//Delegate that will handle selecting a list of companion plants for a planting bed.
@protocol SelectCompanionPlantsDelegate <NSObject>

-(void)suggestedCompanionPlantsSelected:(NSArray *)plants;

@end

@interface SuggestedCompanionsTableViewController : UITableViewController{
    @private
    id <SelectCompanionPlantsDelegate> delegate;
}

@property (nonatomic, strong) NSArray *plants;
- (IBAction)cancelButtonPressed:(UIBarButtonItem *)sender;
- (IBAction)addButtonPressed:(UIBarButtonItem *)sender;
@property (assign) id <SelectCompanionPlantsDelegate> delegate; 
@end
